//
//  UIButton+Utilities.h
//  WaterPurifierProduct
//
//  Created by yc on 2017/11/4.
//  Copyright © 2017年 Cong Yao. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (Utilities)

@property (nonatomic ,strong)NSIndexPath *indexPath;

/*
 txt:label或button的title
 font:字体大小
 size:允许最大size
 */

- (CGSize)btn_titleSize;

/**
 添加定时器时间
 */
- (void)addTimerWithSecond:(int)second palceHolder:(NSString *)placeHolder;

- (void)cancelTimer;
@end
